package com.meritdata.cloud.data.service.application.model; /***********************************************************************
 * Module:  TD_DATA_API_APP_AUTH.java
 * Author:  Lenovo
 * Purpose: Defines the Class TD_DATA_API_APP_AUTH
 ***********************************************************************/

import java.util.Date;

/** 应用的服务权限表 */
public class TdDataApiAppAuth {
	/** 应用ID:APP_ID */
	private Long appId;
	/** 服务ID:API_ID */
	private Long apiId;
	/**
	 * 0:禁用，即不能访问 1:启用
	 * 
	 * 权限状态:STATUS
	 */
	private String status;
	/**
	 * 0:不限制，1:限制
	 * 
	 * 是否限制访问次数:ASTRICTABLE
	 */
	private int astrictable;
	/**
	 * day,week,month其中之一
	 * 
	 * 限制访问次数周期:ASTRICT_PERIOD
	 */
	private String astrictPeriod;
	/** 限制访问次数:ASTRICT_COUNT */
	private int astrictCount;
	/** 创建时间:CREATE_TIME */
	private Date createTime;
	/** 修改时间:UPDATE_TIME */
	private Date updateTime;
	/** 创建人ID:CREATOR */
	private Long creator;
	/** 修改人ID:REVISER_ID */
	private Long reviserId;
	public Long getAppId() {
		return appId;
	}
	public void setAppId(Long appId) {
		this.appId = appId;
	}
	public Long getApiId() {
		return apiId;
	}
	public void setApiId(Long apiId) {
		this.apiId = apiId;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public int getAstrictable() {
		return astrictable;
	}
	public void setAstrictable(int astrictable) {
		this.astrictable = astrictable;
	}
	public String getAstrictPeriod() {
		return astrictPeriod;
	}
	public void setAstrictPeriod(String astrictPeriod) {
		this.astrictPeriod = astrictPeriod;
	}
	public int getAstrictCount() {
		return astrictCount;
	}
	public void setAstrictCount(int astrictCount) {
		this.astrictCount = astrictCount;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	public Long getCreator() {
		return creator;
	}
	public void setCreator(Long creator) {
		this.creator = creator;
	}
	public Long getReviserId() {
		return reviserId;
	}
	public void setReviserId(Long reviserId) {
		this.reviserId = reviserId;
	}


}